/*
* @Author: qinuoyun
* @Date:   2021-06-03 10:40:47
* @Last Modified by:   qinuoyun
* @Last Modified time: 2021-06-04 14:49:28
*/

page {
  background-color: #f5f5f5;
}

.task-mall {
  position: relative;

  .task-mall__hrader {
    width: 750px;
    height: 112px;
    background: #ffffff;
    position: relative;
  }

  .task-mall__hrader-icon {
    width: 44px;
    height: 44px;
    position: absolute;
    left: 34px;
    top: 34px;
  }

  .task-mall__hrader-num {
    position: absolute;
    left: 92px;
    top: 38px;
    font-size: 40px;
    line-height: 40px;
    font-family: DIN;
    font-weight: 500;
    color: #222222;

    text {
      padding-left: 12px;
      font-size: 24px;
      font-family: PingFang SC;
      font-weight: 500;
      color: #222222;
    }
  }

  .task-mall__hrader-search {
    position: absolute;
    right: 24px;
    top: 32px;
    width: 170px;
    height: 64px;
    background: #f7f7f7;
    border-radius: 32px;
    text-align: center;

    text {
      line-height: 64px;
      font-size: 28px;
      font-family: PingFang SC;
      font-weight: 400;
      color: #999999;
      padding: 0 6px;
    }
  }

  .task-mall__tools {
    display: flex;
    width: 750px;
    height: 72px;
    padding-bottom: 22px;

    .__item {
      flex: 1;
      width: 25%;
      text-align: center;
      line-height: 50px;
      position: relative;
      line-height: 72px;
    }

    .__item_icon {
      display: inline-block;
      width: 18px;
      height: 20px;
      margin-left: 5px;
      position: relative;
    }

    .iconfont {
      position: absolute;
      font-size: 20px;
      color: #cccccc;
    }

    .__item_icon_up {
      left: 0;
      top: -36px;
    }

    .__item_icon_down {
      left: 0;
      top: -18px;
    }

    .active {
      font-weight: 400;
      color: #e60b30;
    }
  }

  .task-mall__body {
    width: 750px;
    background-color: #f5f5f5;
    padding-top: 4px;

    .__goods {
      width: calc(100% - 40px);
      column-count: 2;
      column-gap: 16px;
      margin: 20px;
    }

    .__goods-cover {
      position: relative;

      .__image {
        position: relative;
        max-height: 500px;
        overflow: hidden;
        padding-top: 100%;
      }

      image {
        border-radius: 16px 16px 0 0;
      }

      .__cover {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        background-repeat: no-repeat;
        background-position: 50%;
        background: #f3f5f7;
        background-size: cover;
      }
    }

    .__goods-item {
      width: 100%;
      background-color: red;
      margin-bottom: 16px;
      background: #ffffff;
      box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
      border-radius: 16px;
      overflow: hidden;

      .iconfont {
        color: #fbad15;
        font-size: 24px;
      }
    }

    .__goods-info-title {
      font-size: 28px;
      font-family: PingFang SC;
      font-weight: 500;
      color: #222222;
      line-height: 36px;
      padding: 19px 26px;
    }

    .__goods-info-price {
      margin-left: 24px;
      width: 100%;
      height: 32px;

      .iconfont {
        display: inline-block;
        color: #fbad15;
        font-size: 28px;
      }

      .__goods-info-number {
        display: inline-block;
        font-size: 32px;
        font-family: PingFang SC;
        font-weight: 500;
        color: #e60b30;
        line-height: 32px;
        padding-left: 8px;
      }

      .__goods-info-money {
        display: inline-block;
        font-size: 24px;
        font-family: PingFang SC;
        font-weight: 500;
        color: #e60b30;
      }
    }

    .__goods-info-button {
      width: 300px;
      height: 56px;
      background: #e60b30;
      border-radius: 28px;
      font-size: 24px;
      font-family: PingFang SC;
      font-weight: 500;
      color: #ffffff;
      text-align: center;
      line-height: 56px;
      margin: 20px auto;
    }
  }
}
